/**
 * 
 */
package systole.persistence.brokersInterface;

import java.util.List;

import systole.domain.analysis.results.AnalysisResult;
import systole.domain.persons.Patient;
import systole.exceptions.ExceptionDAO;

/**
 * @author jmj
 *
 */
public interface AnalysisResultBroker {
	
	/**
	 * @param id
	 * @return The analysis result with id id.
	 * @throws ExceptionDAO 
	 */
	public AnalysisResult getAnalisysResultById(Integer id)throws ExceptionDAO;
	/**
	 * @param analysisResult
	 * @throws ExceptionDAO 
	 */
	public void insert(AnalysisResult analysisResult)throws ExceptionDAO;
	/**
	 * @param analysisResult
	 * @throws ExceptionDAO 
	 */
	public void update(AnalysisResult analysisResult)throws ExceptionDAO;
	/**
	 * @param patient
	 * @return The list of patient analysis result.
	 * @throws ExceptionDAO 
	 */
	public List<AnalysisResult> getPatientAnalisysResults(Patient patient) throws ExceptionDAO;
	

}
